package com.chen.manager.mapper;

import com.chen.model.entity.product.Brand;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author cgj
 * @date 3/4/25 3:30 PM
 */
@Mapper
public interface BrandMapper {
    List<Brand> selectByPage();

    void insertBrand(Brand brand);

    void updateBrand(Brand brand);

    void deleteBrandById(Long id);

    List<Brand> findAll();

    List<Brand> selectBrandByCategoryId(Long categoryId);
}
